package com.wanghaixin.dto;

/**
 * @Auther: 王海新
 * @Date: 2020/10/30 17:23
 * @Description: 咨询管理的实体类
 */
public class ArticleDTO {
    private Long id;
    private String title;
    private String source;
    private String summary;
    private String author;
    private String coverPic;
    private String tags;
    private String createTime;
    private String aontent;
    //因为下面来个字段和数据库中的不一致，
    // 所以后续会将下面两个字段是true还是false
    // 转化为数据库类型中的0 或 1。
    private Boolean allowUp;
    private Boolean allowFav;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getCoverPic() {
        return coverPic;
    }

    public void setCoverPic(String coverPic) {
        this.coverPic = coverPic;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getAontent() {
        return aontent;
    }

    public void setAontent(String aontent) {
        this.aontent = aontent;
    }

    public Boolean getAllowUp() {
        return allowUp;
    }

    public void setAllowUp(Boolean allowUp) {
        this.allowUp = allowUp;
    }

    public Boolean getAllowFav() {
        return allowFav;
    }

    public void setAllowFav(Boolean allowFav) {
        this.allowFav = allowFav;
    }
}
